{% extends 'base.html' %}

{% block body %}

<div style="position:absolute; left: 293px; top: 131px; right; width: 460px; height: 453px;">
<form id="login" name="login" method="post" action=".">

{% if form.error_dict%}
    <p class="error"> Por favor corrija los campos incorrectos.</p>
{% endif%}

   {% csrf_token %}

    {{ form.as_p }}

    <p align="left">
         <input type="submit"  value="Registrarse" />
         <a href='/login/'><input type="submit" value="Volver" /></a>
    </p>
</p>
</form>
</div>
{% endblock %}
